table of contents
GLUTADDSUBMENU(3) | Library Functions Manual (local) | GLUTADDSUBMENU(3) |
NAME¶
glutAddSubMenu
—
Append a submenu to the current menu.
LIBRARY¶
OpenGLUT - menus
SYNOPSIS¶
#include
<openglut.h>
void
glutAddSubMenu
(const
char *label, int
subMenuID);
PARAMETERS¶
label
Submenu item text
subMenuID
Submenu identifier
DESCRIPTION¶
Attaches an existing menu as a submenu of the current menu.
label
is the text used for the item in the menu.
subMenuID
is the identifier of an existing menu to be appended as a submenu.
The submenu is added to the end of the menu.